import Vue from 'vue'
import App from './App.vue'

Vue.config.productionTip = false

//引入路由环境
import router from "router/router"
//引入mock环境
import "mock/mock"
//引入vuex环境
import store from "store/store"
//引入nprogress.css
import "nprogress/nprogress.css"
//定义公共组件
import "./util/components"
//加载公共资源
import "./common/css/transition.less"
import "./common/css/icon.less"
//引入swiper环境
import "swiper/swiper-bundle.min.css"
//引入element环境
import "util/element.js"
//引入总线
Vue.prototype.$bus = new Vue();
//引入全局过滤器
import "util/filter"
//引入vee-validate环境
import "util/validate.js"

new Vue({
  render: h => h(App),
  router,
  store
}).$mount('#app')
